package com.smart.buss.service.impl;

import com.smart.buss.dao.BussTixianMapper;
import com.smart.buss.service.BussTixianService;
import com.smart.buss.vo.BussTixian;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussTixianServiceImpl implements BussTixianService {

	@Resource
	private BussTixianMapper bussTixianMapper;

	@Override
	public BussTixian queryObject(BussTixian entity) throws Exception {
		return bussTixianMapper.queryObject(entity);
	}

	@Override
	public List<BussTixian> queryList(BussTixian entity) throws Exception {
		return bussTixianMapper.queryList(entity);
	}

	@Override
	public List<BussTixian> queryListByPage(BussTixian entity) throws Exception {
		return bussTixianMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussTixian entity) throws Exception {
		return bussTixianMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussTixian entity) throws Exception {
		return bussTixianMapper.insert(entity);
	}

	@Override
	public Integer update(BussTixian entity) throws Exception {
		return bussTixianMapper.update(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussTixianMapper.delete(id);
	}
}
